package com.example.evaluate.model;

import com.alibaba.fastjson.JSON;
import lombok.*;

@Setter
@Getter
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class TeacherAndQuestion {
    private int teacherQuestionId;
    private int studentId;
    private int teacherId;
    private int questionId;

    public TeacherAndQuestion(int studentId,int teacherId, int questionId) {
        this.studentId = studentId;
        this.teacherId = teacherId;
        this.questionId = questionId;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
